package com.ivan.hospital.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ivan.model.entity.hosp.HospitalSet;
import com.ivan.model.vo.hosp.HospitalSetQueryVo;

/**
 * @author Ivan
 * @date 2021/3/13 18:45
 * @Description:
 */
public interface HospitalSetService extends IService<HospitalSet> {
    //条件查询带分页
    Page<HospitalSet> findByPage(long current, long limit, HospitalSetQueryVo queryVo);

    //添加医院设置
    int saveHospitalSet(HospitalSet hospitalSet);

    //锁定/解锁医院设置
    int lockHospitalSet(Long id, Integer status);
}
